package cn.highedu.demo;

// @Component("user")
public class User {
    private String name;
    private int age;
    public User() {
        name = "Tom";
        age = 18;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
